<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: SDL_gpu_OpenGL_2.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SDL_gpu_OpenGL_2.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SDL__gpu__OpenGL__2_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef _SDL_GPU_OPENGL_2_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define _SDL_GPU_OPENGL_2_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="SDL__gpu_8h.html">SDL_gpu.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#if !defined(SDL_GPU_DISABLE_OPENGL) &amp;&amp; !defined(SDL_GPU_DISABLE_OPENGL_2)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    <span class="comment">// Hacks to fix compile errors due to polluted namespace</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">    #ifdef _WIN32</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">    #define _WINUSER_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">    #define _WINGDI_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">    #endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">    #include &quot;glew.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgr) &amp;&amp; !defined(GL_BGR)</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">                #define GL_BGR GL_BGR_EXT</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgra) &amp;&amp; !defined(GL_BGRA)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">                #define GL_BGRA GL_BGRA_EXT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_abgr) &amp;&amp; !defined(GL_ABGR)</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">                #define GL_ABGR GL_ABGR_EXT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_a1bf6b3961fe68fd88f4193171cd8b562.html#a1bf6b3961fe68fd88f4193171cd8b562">   29</a></span>&#160;<span class="preprocessor">#define GPU_CONTEXT_DATA ContextData_OpenGL_2</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_a1d1b62a2205012b1bf4b31be01d035a0.html#a1d1b62a2205012b1bf4b31be01d035a0">   30</a></span>&#160;<span class="preprocessor">#define GPU_IMAGE_DATA ImageData_OpenGL_2</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_aebe253840844f9b0fd251adc99dbff85.html#aebe253840844f9b0fd251adc99dbff85">   31</a></span>&#160;<span class="preprocessor">#define GPU_TARGET_DATA TargetData_OpenGL_2</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_a6f074b94e7b792cb90aeae8350699869.html#a6f074b94e7b792cb90aeae8350699869">   35</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_TEXTURED_VERTEX_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">&quot;#version 120\n\</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">attribute vec2 gpu_Vertex;\n\</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">attribute vec2 gpu_TexCoord;\n\</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">attribute vec4 gpu_Color;\n\</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">uniform mat4 gpu_ModelViewProjectionMatrix;\n\</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">varying vec2 texCoord;\n\</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">        color = gpu_Color;\n\</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">        texCoord = vec2(gpu_TexCoord);\n\</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">        gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 0.0, 1.0);\n\</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// Tier 3 uses shader attributes to send position, texcoord, and color data for each vertex.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_a5ca2cd32859512a50e648cf8c574be99.html#a5ca2cd32859512a50e648cf8c574be99">   54</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_UNTEXTURED_VERTEX_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">&quot;#version 120\n\</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">attribute vec2 gpu_Vertex;\n\</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">attribute vec4 gpu_Color;\n\</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">uniform mat4 gpu_ModelViewProjectionMatrix;\n\</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">        color = gpu_Color;\n\</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">        gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 0.0, 1.0);\n\</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_ab6ac7d1112d6fc0f799e24b6f76ea58d.html#ab6ac7d1112d6fc0f799e24b6f76ea58d">   70</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_TEXTURED_FRAGMENT_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">&quot;#version 120\n\</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">varying vec2 texCoord;\n\</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">uniform sampler2D tex;\n\</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">    gl_FragColor = texture2D(tex, texCoord) * color;\n\</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__2_8h_a75d7e5e1cac6abd27d81b61fbdea224b.html#a75d7e5e1cac6abd27d81b61fbdea224b">   83</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_UNTEXTURED_FRAGMENT_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">&quot;#version 120\n\</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">    gl_FragColor = color;\n\</span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2.html">   95</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structContextData__OpenGL__2.html">ContextData_OpenGL_2</a></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a8fc93c96de357a0e2f1b0667fef9ad31.html#a8fc93c96de357a0e2f1b0667fef9ad31">   97</a></span>&#160;        SDL_Color <a class="code" href="structContextData__OpenGL__2_a8fc93c96de357a0e2f1b0667fef9ad31.html#a8fc93c96de357a0e2f1b0667fef9ad31">last_color</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a374fd31159d89ee4fd8520f33ccd9e8f.html#a374fd31159d89ee4fd8520f33ccd9e8f">   98</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__2_a374fd31159d89ee4fd8520f33ccd9e8f.html#a374fd31159d89ee4fd8520f33ccd9e8f">last_use_texturing</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_ac673cd8bb0e01a76f02639a8380d2510.html#ac673cd8bb0e01a76f02639a8380d2510">   99</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__2_ac673cd8bb0e01a76f02639a8380d2510.html#ac673cd8bb0e01a76f02639a8380d2510">last_shape</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_abe93efcb4fddbcf32eaade8b4b5571a8.html#abe93efcb4fddbcf32eaade8b4b5571a8">  100</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__2_abe93efcb4fddbcf32eaade8b4b5571a8.html#abe93efcb4fddbcf32eaade8b4b5571a8">last_use_blending</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a35bba4bf733440c93c7639f999f811a6.html#a35bba4bf733440c93c7639f999f811a6">  101</a></span>&#160;        <a class="code" href="structGPU__BlendMode.html">GPU_BlendMode</a> <a class="code" href="structContextData__OpenGL__2_a35bba4bf733440c93c7639f999f811a6.html#a35bba4bf733440c93c7639f999f811a6">last_blend_mode</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a59eb1631cd8ba666a685aa00d407fb7f.html#a59eb1631cd8ba666a685aa00d407fb7f">  102</a></span>&#160;        <a class="code" href="structGPU__Rect.html">GPU_Rect</a> <a class="code" href="structContextData__OpenGL__2_a59eb1631cd8ba666a685aa00d407fb7f.html#a59eb1631cd8ba666a685aa00d407fb7f">last_viewport</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_ad142da7aea8722a8adf6921817ee7181.html#ad142da7aea8722a8adf6921817ee7181">  103</a></span>&#160;        <a class="code" href="structGPU__Camera.html">GPU_Camera</a> <a class="code" href="structContextData__OpenGL__2_ad142da7aea8722a8adf6921817ee7181.html#ad142da7aea8722a8adf6921817ee7181">last_camera</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a66994b1f14f85d2a85b4f92d80aca77c.html#a66994b1f14f85d2a85b4f92d80aca77c">  104</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__2_a66994b1f14f85d2a85b4f92d80aca77c.html#a66994b1f14f85d2a85b4f92d80aca77c">last_camera_inverted</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a6055fe5e23daf585b8d1154c3d16086b.html#a6055fe5e23daf585b8d1154c3d16086b">  106</a></span>&#160;        <a class="code" href="structGPU__Image.html">GPU_Image</a>* <a class="code" href="structContextData__OpenGL__2_a6055fe5e23daf585b8d1154c3d16086b.html#a6055fe5e23daf585b8d1154c3d16086b">last_image</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a8f4d773d32e2d6a62e361f4d46e320c6.html#a8f4d773d32e2d6a62e361f4d46e320c6">  107</a></span>&#160;        <a class="code" href="structGPU__Target.html">GPU_Target</a>* <a class="code" href="structContextData__OpenGL__2_a8f4d773d32e2d6a62e361f4d46e320c6.html#a8f4d773d32e2d6a62e361f4d46e320c6">last_target</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_ad5397edd7b8af1a3c92077d4fe4895f3.html#ad5397edd7b8af1a3c92077d4fe4895f3">  108</a></span>&#160;        <span class="keywordtype">float</span>* <a class="code" href="structContextData__OpenGL__2_ad5397edd7b8af1a3c92077d4fe4895f3.html#ad5397edd7b8af1a3c92077d4fe4895f3">blit_buffer</a>;  <span class="comment">// Holds sets of 4 vertices and 4 tex coords interleaved (e.g. [x0, y0, z0, s0, t0, ...]).</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a84ba80de9df2e527974f483b90487835.html#a84ba80de9df2e527974f483b90487835">  109</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__2_a84ba80de9df2e527974f483b90487835.html#a84ba80de9df2e527974f483b90487835">blit_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a2ebc4b43a6741fbb1a77348abfac7875.html#a2ebc4b43a6741fbb1a77348abfac7875">  110</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__2_a2ebc4b43a6741fbb1a77348abfac7875.html#a2ebc4b43a6741fbb1a77348abfac7875">blit_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_aa157553183641bb571e3d8c80b248704.html#aa157553183641bb571e3d8c80b248704">  111</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* <a class="code" href="structContextData__OpenGL__2_aa157553183641bb571e3d8c80b248704.html#aa157553183641bb571e3d8c80b248704">index_buffer</a>;  <span class="comment">// Indexes into the blit buffer so we can use 4 vertices for every 2 triangles (1 quad)</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a696770d9a6fc19437c29d83692baaebe.html#a696770d9a6fc19437c29d83692baaebe">  112</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__2_a696770d9a6fc19437c29d83692baaebe.html#a696770d9a6fc19437c29d83692baaebe">index_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a74e9eaefa68bacac381e3ff27770cc81.html#a74e9eaefa68bacac381e3ff27770cc81">  113</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__2_a74e9eaefa68bacac381e3ff27770cc81.html#a74e9eaefa68bacac381e3ff27770cc81">index_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_ae322f183233051239b4aaf0a57b039f3.html#ae322f183233051239b4aaf0a57b039f3">  116</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__2_ae322f183233051239b4aaf0a57b039f3.html#ae322f183233051239b4aaf0a57b039f3">blit_VBO</a>[2];  <span class="comment">// For double-buffering</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49.html#a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49">  117</a></span>&#160;    Uint8 <a class="code" href="structContextData__OpenGL__2_a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49.html#a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49">blit_VBO_flop</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a874c5da43d216b230cd846817ebae925.html#a874c5da43d216b230cd846817ebae925">  118</a></span>&#160;    <a class="code" href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a> <a class="code" href="structContextData__OpenGL__2_a874c5da43d216b230cd846817ebae925.html#a874c5da43d216b230cd846817ebae925">shader_block</a>[2];</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a8ee5028424f8eefbf351279b8393ad29.html#a8ee5028424f8eefbf351279b8393ad29">  119</a></span>&#160;    <a class="code" href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a> <a class="code" href="structContextData__OpenGL__2_a8ee5028424f8eefbf351279b8393ad29.html#a8ee5028424f8eefbf351279b8393ad29">current_shader_block</a>;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a9432a0d9095cb763cb930a29b11f9b5c.html#a9432a0d9095cb763cb930a29b11f9b5c">  121</a></span>&#160;        <a class="code" href="structGPU__AttributeSource.html">GPU_AttributeSource</a> <a class="code" href="structContextData__OpenGL__2_a9432a0d9095cb763cb930a29b11f9b5c.html#a9432a0d9095cb763cb930a29b11f9b5c">shader_attributes</a>[16];</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__2_a6613af4200f802df1a787552c4c78eae.html#a6613af4200f802df1a787552c4c78eae">  122</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__2_a6613af4200f802df1a787552c4c78eae.html#a6613af4200f802df1a787552c4c78eae">attribute_VBO</a>[16];</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;} <a class="code" href="structContextData__OpenGL__2.html">ContextData_OpenGL_2</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__2.html">  125</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structImageData__OpenGL__2.html">ImageData_OpenGL_2</a></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;{</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__2_a9c15a574a9699b11156f6fd4901ccc46.html#a9c15a574a9699b11156f6fd4901ccc46">  127</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structImageData__OpenGL__2_a9c15a574a9699b11156f6fd4901ccc46.html#a9c15a574a9699b11156f6fd4901ccc46">refcount</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__2_ad08fe58e62a36a4ee084378dccde7af5.html#ad08fe58e62a36a4ee084378dccde7af5">  128</a></span>&#160;    Uint8 <a class="code" href="structImageData__OpenGL__2_ad08fe58e62a36a4ee084378dccde7af5.html#ad08fe58e62a36a4ee084378dccde7af5">owns_handle</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__2_a8036eb962a4c65f4a16fd1416699e9dd.html#a8036eb962a4c65f4a16fd1416699e9dd">  129</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__2_a8036eb962a4c65f4a16fd1416699e9dd.html#a8036eb962a4c65f4a16fd1416699e9dd">handle</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__2_a2dc29ad74e781c5c851c80a04638e42c.html#a2dc29ad74e781c5c851c80a04638e42c">  130</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__2_a2dc29ad74e781c5c851c80a04638e42c.html#a2dc29ad74e781c5c851c80a04638e42c">format</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;} <a class="code" href="structImageData__OpenGL__2.html">ImageData_OpenGL_2</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__2.html">  133</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structTargetData__OpenGL__2.html">TargetData_OpenGL_2</a></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;{</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__2_af81de82cbabc5a0ae240403bd8af07a4.html#af81de82cbabc5a0ae240403bd8af07a4">  135</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structTargetData__OpenGL__2_af81de82cbabc5a0ae240403bd8af07a4.html#af81de82cbabc5a0ae240403bd8af07a4">refcount</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__2_ab229bb4292dc9659dcf80b33d96d0194.html#ab229bb4292dc9659dcf80b33d96d0194">  136</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__2_ab229bb4292dc9659dcf80b33d96d0194.html#ab229bb4292dc9659dcf80b33d96d0194">handle</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__2_a3062d8b72dd71796b3232b41d380aa74.html#a3062d8b72dd71796b3232b41d380aa74">  137</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__2_a3062d8b72dd71796b3232b41d380aa74.html#a3062d8b72dd71796b3232b41d380aa74">format</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;} <a class="code" href="structTargetData__OpenGL__2.html">TargetData_OpenGL_2</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structGPU__AttributeSource_html"><div class="ttname"><a href="structGPU__AttributeSource.html">GPU_AttributeSource</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:495</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a6613af4200f802df1a787552c4c78eae_html_a6613af4200f802df1a787552c4c78eae"><div class="ttname"><a href="structContextData__OpenGL__2_a6613af4200f802df1a787552c4c78eae.html#a6613af4200f802df1a787552c4c78eae">ContextData_OpenGL_2::attribute_VBO</a></div><div class="ttdeci">unsigned int attribute_VBO[16]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:122</div></div>
<div class="ttc" id="structImageData__OpenGL__2_a2dc29ad74e781c5c851c80a04638e42c_html_a2dc29ad74e781c5c851c80a04638e42c"><div class="ttname"><a href="structImageData__OpenGL__2_a2dc29ad74e781c5c851c80a04638e42c.html#a2dc29ad74e781c5c851c80a04638e42c">ImageData_OpenGL_2::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:130</div></div>
<div class="ttc" id="structTargetData__OpenGL__2_ab229bb4292dc9659dcf80b33d96d0194_html_ab229bb4292dc9659dcf80b33d96d0194"><div class="ttname"><a href="structTargetData__OpenGL__2_ab229bb4292dc9659dcf80b33d96d0194.html#ab229bb4292dc9659dcf80b33d96d0194">TargetData_OpenGL_2::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:136</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a2ebc4b43a6741fbb1a77348abfac7875_html_a2ebc4b43a6741fbb1a77348abfac7875"><div class="ttname"><a href="structContextData__OpenGL__2_a2ebc4b43a6741fbb1a77348abfac7875.html#a2ebc4b43a6741fbb1a77348abfac7875">ContextData_OpenGL_2::blit_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:110</div></div>
<div class="ttc" id="structGPU__Camera_html"><div class="ttname"><a href="structGPU__Camera.html">GPU_Camera</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:253</div></div>
<div class="ttc" id="structContextData__OpenGL__2_ad142da7aea8722a8adf6921817ee7181_html_ad142da7aea8722a8adf6921817ee7181"><div class="ttname"><a href="structContextData__OpenGL__2_ad142da7aea8722a8adf6921817ee7181.html#ad142da7aea8722a8adf6921817ee7181">ContextData_OpenGL_2::last_camera</a></div><div class="ttdeci">GPU_Camera last_camera</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:103</div></div>
<div class="ttc" id="structContextData__OpenGL__2_ac673cd8bb0e01a76f02639a8380d2510_html_ac673cd8bb0e01a76f02639a8380d2510"><div class="ttname"><a href="structContextData__OpenGL__2_ac673cd8bb0e01a76f02639a8380d2510.html#ac673cd8bb0e01a76f02639a8380d2510">ContextData_OpenGL_2::last_shape</a></div><div class="ttdeci">unsigned int last_shape</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:99</div></div>
<div class="ttc" id="structContextData__OpenGL__2_aa157553183641bb571e3d8c80b248704_html_aa157553183641bb571e3d8c80b248704"><div class="ttname"><a href="structContextData__OpenGL__2_aa157553183641bb571e3d8c80b248704.html#aa157553183641bb571e3d8c80b248704">ContextData_OpenGL_2::index_buffer</a></div><div class="ttdeci">unsigned short * index_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:111</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a8f4d773d32e2d6a62e361f4d46e320c6_html_a8f4d773d32e2d6a62e361f4d46e320c6"><div class="ttname"><a href="structContextData__OpenGL__2_a8f4d773d32e2d6a62e361f4d46e320c6.html#a8f4d773d32e2d6a62e361f4d46e320c6">ContextData_OpenGL_2::last_target</a></div><div class="ttdeci">GPU_Target * last_target</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:107</div></div>
<div class="ttc" id="structGPU__ShaderBlock_html"><div class="ttname"><a href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:266</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a696770d9a6fc19437c29d83692baaebe_html_a696770d9a6fc19437c29d83692baaebe"><div class="ttname"><a href="structContextData__OpenGL__2_a696770d9a6fc19437c29d83692baaebe.html#a696770d9a6fc19437c29d83692baaebe">ContextData_OpenGL_2::index_buffer_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:112</div></div>
<div class="ttc" id="structImageData__OpenGL__2_ad08fe58e62a36a4ee084378dccde7af5_html_ad08fe58e62a36a4ee084378dccde7af5"><div class="ttname"><a href="structImageData__OpenGL__2_ad08fe58e62a36a4ee084378dccde7af5.html#ad08fe58e62a36a4ee084378dccde7af5">ImageData_OpenGL_2::owns_handle</a></div><div class="ttdeci">Uint8 owns_handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:128</div></div>
<div class="ttc" id="SDL__gpu_8h_html"><div class="ttname"><a href="SDL__gpu_8h.html">SDL_gpu.h</a></div></div>
<div class="ttc" id="structImageData__OpenGL__2_a9c15a574a9699b11156f6fd4901ccc46_html_a9c15a574a9699b11156f6fd4901ccc46"><div class="ttname"><a href="structImageData__OpenGL__2_a9c15a574a9699b11156f6fd4901ccc46.html#a9c15a574a9699b11156f6fd4901ccc46">ImageData_OpenGL_2::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:127</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a59eb1631cd8ba666a685aa00d407fb7f_html_a59eb1631cd8ba666a685aa00d407fb7f"><div class="ttname"><a href="structContextData__OpenGL__2_a59eb1631cd8ba666a685aa00d407fb7f.html#a59eb1631cd8ba666a685aa00d407fb7f">ContextData_OpenGL_2::last_viewport</a></div><div class="ttdeci">GPU_Rect last_viewport</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:102</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a9432a0d9095cb763cb930a29b11f9b5c_html_a9432a0d9095cb763cb930a29b11f9b5c"><div class="ttname"><a href="structContextData__OpenGL__2_a9432a0d9095cb763cb930a29b11f9b5c.html#a9432a0d9095cb763cb930a29b11f9b5c">ContextData_OpenGL_2::shader_attributes</a></div><div class="ttdeci">GPU_AttributeSource shader_attributes[16]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:121</div></div>
<div class="ttc" id="structContextData__OpenGL__2_html"><div class="ttname"><a href="structContextData__OpenGL__2.html">ContextData_OpenGL_2</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:95</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a74e9eaefa68bacac381e3ff27770cc81_html_a74e9eaefa68bacac381e3ff27770cc81"><div class="ttname"><a href="structContextData__OpenGL__2_a74e9eaefa68bacac381e3ff27770cc81.html#a74e9eaefa68bacac381e3ff27770cc81">ContextData_OpenGL_2::index_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:113</div></div>
<div class="ttc" id="structTargetData__OpenGL__2_a3062d8b72dd71796b3232b41d380aa74_html_a3062d8b72dd71796b3232b41d380aa74"><div class="ttname"><a href="structTargetData__OpenGL__2_a3062d8b72dd71796b3232b41d380aa74.html#a3062d8b72dd71796b3232b41d380aa74">TargetData_OpenGL_2::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:137</div></div>
<div class="ttc" id="structTargetData__OpenGL__2_html"><div class="ttname"><a href="structTargetData__OpenGL__2.html">TargetData_OpenGL_2</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:133</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a6055fe5e23daf585b8d1154c3d16086b_html_a6055fe5e23daf585b8d1154c3d16086b"><div class="ttname"><a href="structContextData__OpenGL__2_a6055fe5e23daf585b8d1154c3d16086b.html#a6055fe5e23daf585b8d1154c3d16086b">ContextData_OpenGL_2::last_image</a></div><div class="ttdeci">GPU_Image * last_image</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:106</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a66994b1f14f85d2a85b4f92d80aca77c_html_a66994b1f14f85d2a85b4f92d80aca77c"><div class="ttname"><a href="structContextData__OpenGL__2_a66994b1f14f85d2a85b4f92d80aca77c.html#a66994b1f14f85d2a85b4f92d80aca77c">ContextData_OpenGL_2::last_camera_inverted</a></div><div class="ttdeci">Uint8 last_camera_inverted</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:104</div></div>
<div class="ttc" id="structContextData__OpenGL__2_abe93efcb4fddbcf32eaade8b4b5571a8_html_abe93efcb4fddbcf32eaade8b4b5571a8"><div class="ttname"><a href="structContextData__OpenGL__2_abe93efcb4fddbcf32eaade8b4b5571a8.html#abe93efcb4fddbcf32eaade8b4b5571a8">ContextData_OpenGL_2::last_use_blending</a></div><div class="ttdeci">Uint8 last_use_blending</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:100</div></div>
<div class="ttc" id="structGPU__BlendMode_html"><div class="ttname"><a href="structGPU__BlendMode.html">GPU_BlendMode</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:133</div></div>
<div class="ttc" id="structTargetData__OpenGL__2_af81de82cbabc5a0ae240403bd8af07a4_html_af81de82cbabc5a0ae240403bd8af07a4"><div class="ttname"><a href="structTargetData__OpenGL__2_af81de82cbabc5a0ae240403bd8af07a4.html#af81de82cbabc5a0ae240403bd8af07a4">TargetData_OpenGL_2::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:135</div></div>
<div class="ttc" id="structGPU__Target_html"><div class="ttname"><a href="structGPU__Target.html">GPU_Target</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:343</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a35bba4bf733440c93c7639f999f811a6_html_a35bba4bf733440c93c7639f999f811a6"><div class="ttname"><a href="structContextData__OpenGL__2_a35bba4bf733440c93c7639f999f811a6.html#a35bba4bf733440c93c7639f999f811a6">ContextData_OpenGL_2::last_blend_mode</a></div><div class="ttdeci">GPU_BlendMode last_blend_mode</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:101</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49_html_a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49"><div class="ttname"><a href="structContextData__OpenGL__2_a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49.html#a0a0fbc6f9c2c0e9a6eb7c0c3d9895d49">ContextData_OpenGL_2::blit_VBO_flop</a></div><div class="ttdeci">Uint8 blit_VBO_flop</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:117</div></div>
<div class="ttc" id="structContextData__OpenGL__2_ae322f183233051239b4aaf0a57b039f3_html_ae322f183233051239b4aaf0a57b039f3"><div class="ttname"><a href="structContextData__OpenGL__2_ae322f183233051239b4aaf0a57b039f3.html#ae322f183233051239b4aaf0a57b039f3">ContextData_OpenGL_2::blit_VBO</a></div><div class="ttdeci">unsigned int blit_VBO[2]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:116</div></div>
<div class="ttc" id="structGPU__Image_html"><div class="ttname"><a href="structGPU__Image.html">GPU_Image</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:222</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a84ba80de9df2e527974f483b90487835_html_a84ba80de9df2e527974f483b90487835"><div class="ttname"><a href="structContextData__OpenGL__2_a84ba80de9df2e527974f483b90487835.html#a84ba80de9df2e527974f483b90487835">ContextData_OpenGL_2::blit_buffer_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:109</div></div>
<div class="ttc" id="structImageData__OpenGL__2_a8036eb962a4c65f4a16fd1416699e9dd_html_a8036eb962a4c65f4a16fd1416699e9dd"><div class="ttname"><a href="structImageData__OpenGL__2_a8036eb962a4c65f4a16fd1416699e9dd.html#a8036eb962a4c65f4a16fd1416699e9dd">ImageData_OpenGL_2::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:129</div></div>
<div class="ttc" id="structContextData__OpenGL__2_ad5397edd7b8af1a3c92077d4fe4895f3_html_ad5397edd7b8af1a3c92077d4fe4895f3"><div class="ttname"><a href="structContextData__OpenGL__2_ad5397edd7b8af1a3c92077d4fe4895f3.html#ad5397edd7b8af1a3c92077d4fe4895f3">ContextData_OpenGL_2::blit_buffer</a></div><div class="ttdeci">float * blit_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:108</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a8fc93c96de357a0e2f1b0667fef9ad31_html_a8fc93c96de357a0e2f1b0667fef9ad31"><div class="ttname"><a href="structContextData__OpenGL__2_a8fc93c96de357a0e2f1b0667fef9ad31.html#a8fc93c96de357a0e2f1b0667fef9ad31">ContextData_OpenGL_2::last_color</a></div><div class="ttdeci">SDL_Color last_color</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:97</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a8ee5028424f8eefbf351279b8393ad29_html_a8ee5028424f8eefbf351279b8393ad29"><div class="ttname"><a href="structContextData__OpenGL__2_a8ee5028424f8eefbf351279b8393ad29.html#a8ee5028424f8eefbf351279b8393ad29">ContextData_OpenGL_2::current_shader_block</a></div><div class="ttdeci">GPU_ShaderBlock current_shader_block</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:119</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a374fd31159d89ee4fd8520f33ccd9e8f_html_a374fd31159d89ee4fd8520f33ccd9e8f"><div class="ttname"><a href="structContextData__OpenGL__2_a374fd31159d89ee4fd8520f33ccd9e8f.html#a374fd31159d89ee4fd8520f33ccd9e8f">ContextData_OpenGL_2::last_use_texturing</a></div><div class="ttdeci">Uint8 last_use_texturing</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:98</div></div>
<div class="ttc" id="structGPU__Rect_html"><div class="ttname"><a href="structGPU__Rect.html">GPU_Rect</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:61</div></div>
<div class="ttc" id="structImageData__OpenGL__2_html"><div class="ttname"><a href="structImageData__OpenGL__2.html">ImageData_OpenGL_2</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:125</div></div>
<div class="ttc" id="structContextData__OpenGL__2_a874c5da43d216b230cd846817ebae925_html_a874c5da43d216b230cd846817ebae925"><div class="ttname"><a href="structContextData__OpenGL__2_a874c5da43d216b230cd846817ebae925.html#a874c5da43d216b230cd846817ebae925">ContextData_OpenGL_2::shader_block</a></div><div class="ttdeci">GPU_ShaderBlock shader_block[2]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_2.h:118</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:37 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
